const {DbuserLogin,DbuserInfo} = require('../../model/User_Model/index')

const userLogin = async (req, res) => {
    let data = await DbuserLogin(req.body);
    res.send({
        data
    })
}
const userinfo = async (req, res) => {
    let data = await DbuserInfo(req.body)
    res.send({
        data
    })
}
module.exports = {
    userLogin,
    userinfo
}